;
(function () {
  'use strict';
  angular.module('controllers.analysisSysOM.tradTime')
    .controller('minTradTimeController', minTradTimeController);

  function minTradTimeController($scope, minTradTimeService,COREDATA,$mdDialog) {
    $scope.minTradTime = minTradTimeService;
    $scope.exportUrl = COREDATA.FORMPREFIX + 'analysisSysOM/sysPerformance/tradTime/exportMinTradTime';
    minTradTimeService.initSelectMenu();
    //minTradTimeService.search();
    $scope.$on('$destroy', function () {
      minTradTimeService.reset();
      $mdDialog.hide();
    });
  }

  minTradTimeController.$inject = ['$scope', 'minTradTimeService','COREDATA','$mdDialog'];
})();